package org.xg.study.pd.visitor;

import org.xg.study.pd.user.impl.Student;
import org.xg.study.pd.user.impl.Teacher;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName Visitor
 * @date 2021/9/18 10:18
 **/
public interface Visitor {
    //访问学生信息
    void visit(Student student);

    //访问老师信息
    void visit(Teacher teacher);
}
